package com.artisan.admin.resultModels.adResultModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 广告返回结果
 */
@ApiModel(value = "广告返回结果")
public class AdResultModel implements Serializable {
    @ApiModelProperty(value = "id", example = "0")
    private int id;  // id
    private String adNo;  // 广告编号
    @ApiModelProperty(value = "名称")
    private String name;  // 名称
    @ApiModelProperty(value = "图片地址")
    private String photoUrl; // 图片地址
    @ApiModelProperty(value = "点击数")
    private int clickNum; // 点击数

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAdNo() {
        return adNo;
    }

    public void setAdNo(String adNo) {
        this.adNo = adNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public int getClickNum() {
        return clickNum;
    }

    public void setClickNum(int clickNum) {
        this.clickNum = clickNum;
    }
}
